home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / dev / c / ctags.lha / ctags-3.0.3 / Makefile.w32 < prev    next >
Makefile  |  1999-02-17  |  677b  |  30 lines

  1. # The most simplistic Makefile for Win32 (Windows 95/NT)
  2.  
  3. SOURCES    = eiffel.c entry.c fortran.c get.c keyword.c main.c options.c \
  4.     parse.c read.c sort.c vstring.c
  5.  
  6. ctags: ctags.exe
  7.  
  8. ctags.exe: $(SOURCES) respfile
  9. # if using Microsoft Visual C++
  10.     cl -DWIN32 /Fe$@ @respfile
  11. # if using Borland C++
  12. #    bcc32 -DWIN32 -O2 -w-par -w-pia -w-sus -e$@ @respfile
  13.  
  14. # Debug version
  15. dctags.exe: $(SOURCES)
  16. # if using Microsoft Visual C++
  17.     cl -DWIN32 -DDEBUG /Fe$@ @respfile debug.c 
  18. # if using Borland C++
  19. #    bcc32 -DWIN32 -DDEBUG -w-par -w-pia -w-sus -e$@ @respfile debug.c
  20.  
  21. respfile:
  22.     echo $(SOURCES) > $@
  23.  
  24. clean:
  25.     - del *.obj
  26.     - del ctags.exe
  27.     - del dctags.exe
  28.     - del respfile
  29.     - del tags
  30.